#{extends 'common/base.html' /}
<div class="admin-content">
	<div class="am-cf am-padding">
		<div class="am-fl am-cf">
			<strong class="am-text-primary am-text-lg">刀具领用回收记录</strong> / <small>cutterUseRecord</small>
		</div>
	</div>
		<div class="am-g">
			<div class="am-u-sm-12">
				<table class="am-table am-table-striped am-table-hover table-main">
					<thead>
						<tr>
							<th class="table-check"><input type="checkbox" /></th>
							<th class="table-id">id</th>
							<th class="table-title">规格 </th>
							<th class="table-title">供应商 </th>
							<th class="table-type">领用数量</th>
							<th class="table-author am-hide-sm-only">回收数量</th>
							<th class="table-date am-hide-sm-only">持有数量</th>
						</tr>
					</thead>
					<tbody>
						#{if json.data!=null} #{set count:1/} #{list
						items:json.data,as:'bean'}
						#{if bean?.useCount>0 || bean?.recCount}
						<tr>
							<td><input type="checkbox" /></td>
							<td>${count}</td>
							<td>${bean?.cutter_specs}</td>
							<td>${bean?.supp_name}</td>
							<td>${bean?.useCount}</td>
							<td>${bean?.recCount}</td>
							<td class="am-hide-sm-only">${bean?.useCount - bean?.recCount}</td>
						</tr>
						#{/if}
						#{set count:count+1/}
						
						#{/list} #{/if}
					</tbody>
				</table>
			</div>
		</div>
</div>
<!-- content end -->